home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
usenet
/
sources
/
volume90
/
util
/
fam_1_1
/
part01
/
MkFiles.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1990-02-16
|
900b
|
52 lines
/* makefiles */
parse arg x y z w .
address command
'makedir xyzzy'
'resident c:Copy pure'
'resident c:filenote pure'
'join Makefile Makefile Makefile as t:TestFile'
'copy Makefile t:'
'copy FAM.c t:'
do i = 1 to x
s = right(i, 10, '0');
say s
'echo >xyzzy/AA' || s fish
end
do i = 1 to y
s = right(i, 4, '0');
say s
'copy t:TestFile to xyzzy/NNN' || s
'filenote xyzzy/NNN' || s '"file ' || s || '"'
end
do i = 1 to z
s = right(i, 2, '0');
say s
'copy t:FAM.c xyzzy/W' || s
end
do i = 1 to w
s = right(i, 3, '0');
say s
'copy t:TestFile to xyzzy/B' || s || '.zoo'
'copy t:TestFile to xyzzy/B' || s || '.lhx'
'copy t:TestFile to xyzzy/B' || s || '.arc'
'copy t:TestFile to xyzzy/B' || s || '.txt'
end
do i = 1 to 5
'copy FAMuser1 xyzzy/U0'||i
end
do i = 6 to 9
'copy FAMuser2 xyzzy/U0'||i
end